//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.itheima.exception.expections;

import java.io.Serializable;

public class NotFoundException extends RuntimeException {
    private static final long serialVersionUID = -8114239930317645452L;
    private String resource;
    private Serializable id;

    public String getResource() {
        return this.resource;
    }

    public Serializable getId() {
        return this.id;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public void setId(Serializable id) {
        this.id = id;
    }

    public NotFoundException(String resource, Serializable id) {
        this.resource = resource;
        this.id = id;
    }
}
